#ifndef UDPCLIENT_H
#define UDPCLIENT_H

#include <QMainWindow>
#include <QUdpSocket>
#include <QVariant>
namespace Ui {
    class UdpClient;
}

class UdpClient : public QMainWindow
{
    Q_OBJECT

public:
    explicit UdpClient(QWidget *parent = 0);
    ~UdpClient();
private slots:
    void recv();
    void on_pushButton_clicked();

private:
    Ui::UdpClient *ui;
    QUdpSocket *clientudp;
};

#endif // UDPCLIENT_H
